package com.ruoyi.ylyx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 招聘类别对象 ylyx_recuittype
 * 
 * @author yuexl
 * @date 2021-02-05
 */
public class YlyxRecuittype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String recuitName;

    private List<YlyxRecruitpost> postList;

    /** 用户是否存在此岗位标识 默认不存在 */
    private boolean flag = false;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRecuitName(String recuitName) 
    {
        this.recuitName = recuitName;
    }

    public String getRecuitName() 
    {
        return recuitName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recuitName", getRecuitName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public List<YlyxRecruitpost> getPostList() {
        return postList;
    }

    public void setPostList(List<YlyxRecruitpost> postList) {
        this.postList = postList;
    }
}
